package com.cmc.cloud.cmclink.doc.vo.specialcargoapplyvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

/**
 * 特种货审批主信息分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 特种货审批主信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpecialCargoApplyPageReqVO extends PageParam {

    @Schema(description = "船名")
    private String vessel;

    @Schema(description = "航次")
    private String voyageEx;

    @Schema(description = "是否合作方")
    private Boolean partnerFlag;

    @Schema(description = "审批界面")
    private Boolean approvalView;

    @Schema(description = "是否内支线")
    private Boolean inlandCargo;

    @Schema(description = "申请号")
    private String applyNo;

    @Schema(description = "申请类型")
    private String applyType;

    @Schema(description = "客户参考号")
    private String referenceNo;

    @Schema(description = "订舱号")
    private String bookingNo;

    @Schema(description = "超级白名单号")
    private String praNo;

    @Schema(description = "装货港")
    private String polCode;

    @Schema(description = "卸货港")
    private String podCode;

    @Schema(description = "目的港")
    private String delCode;

    @Schema(description = "接舱方")
    private String spaceOwner;

    @Schema(description = "申请状态", example = "1")
    private List<String> applyStatus;

    @Schema(description = "创建时间 Start")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate beginDate;

    @Schema(description = "创建时间 End")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate endDate;

}
